Apparatus and method for controlling traffic of electronic device

ABSTRACT

An apparatus and a method for controlling traffic of a second electronic device, which interworks with a first electronic device, in the first electronic device is provided. The method includes detecting occurrence of an event which needs to be notified to the second electronic device, determining a time to notify the occurrence of the event based on a driving time of the second electronic device, and transmitting an event occurrence notification signal to the second electronic device at the determined notification time.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a continuation application of prior application Ser.No. 14/596,748, filed on Jan. 14, 2015, which will issue as U.S. Pat.No. 9,609,596 on Mar. 28, 2017 and claims the benefit under 35 U.S.C. §119(a) of a Korean patent application filed on Jan. 14, 2014 in theKorean Intellectual Property Office and assigned Serial number10-2014-0004658, the entire disclosure of each of which is herebyincorporated by reference.

TECHNICAL FIELD

The present disclosure relates to controlling traffic of an electronicdevice. More particularly, the present disclosure relates to anapparatus and method for exchanging data to control traffic of anotherelectronic device which interworks with an electronic device.

BACKGROUND

As electronic devices are increasingly used in recent years, interest invarious additional functions provided through the electronic devices isgrowing. For example, users are interested in the functions of makingtwo different electronic devices interwork with each other and thusimproving user's convenience. For example, various functions of makingan electronic device, which may be worn on a user's body, that is, awearable device, interwork with an electronic device, such as asmartphone, are provided, thus improving user's convenience.

Meanwhile, power consumption efficiency of a battery and batterydurability are very important factors when the user selects and uses theelectronic device. The wearable device consumes much power of thebattery due to continuous or periodic traffic generated by thesmartphone interworking therewith. Therefore, there is a demand for amethod for reducing power consumption of a battery in a wearable devicewhich interworks with another electronic device such as a smartphone.

The above information is presented as background information only toassist with an understanding of the present disclosure. No determinationhas been made, and no assertion is made, as to whether any of the abovemight be applicable as prior art with regard to the present disclosure.

SUMMARY

Aspects of the present disclosure are to address at least theabove-mentioned problems and/or disadvantages and to provide at leastthe advantages described below. Accordingly, an aspect of the presentdisclosure is to provide an apparatus and method for controlling trafficfor another electronic device interworking with an electronic device inthe electronic device.

Another aspect of the present disclosure is to provide an apparatus andmethod for controlling traffic of another electronic device interworkingwith an electronic device by controlling a time to transmit data toanother electronic device in the electronic device.

Another aspect of the present disclosure is to provide an apparatus andmethod for controlling traffic of another electronic device interworkingwith an electronic device by controlling the number of times data istransmitted to another electronic device in the electronic device.

Another aspect of the present disclosure is to provide an apparatus andmethod for determining a data transmission time based on a driving timeof another electronic device interworking with an electronic device inthe electronic device.

Another aspect of the present disclosure is to provide an apparatus andmethod for determining a data collection time and a transmission time ofcollected data based on a driving time of another electronic deviceinterworking with an electronic device in the electronic device.

Another aspect of the present disclosure is to provide an apparatus andmethod for detecting occurrence of an event that needs to be notified toanother electronic device interworking with an electronic device, andnotifying another electronic device of the occurrence of the event basedon whether the event is a transient event or multiple events.

Another aspect of the present disclosure is to provide an apparatus andmethod for preventing data transmission to another electronic deviceinterworking with an electronic device from being delayed for more thana predetermined time.

Another aspect of the present disclosure is to provide an apparatus andmethod for controlling a time to synchronize with another electronicdevice interworking with an electronic device based on a time when datatraffic is generated in another electronic device.

In accordance with an aspect of the present disclosure, a method forcontrolling traffic of a second electronic device which interworks witha first electronic device in the first electronic device is provided.The method includes detecting occurrence of an event which needs to benotified to the second electronic device, determining a notificationtime to notify the occurrence of the event based on a driving time ofthe second electronic device, and transmitting an event occurrencenotification signal to the second electronic device at the notificationtime.

In accordance with another aspect of the present disclosure, anapparatus for controlling traffic of a second electronic device whichinterworks with a first electronic device in the first electronic deviceis provided. The apparatus includes a processor configured to detectoccurrence of an event which needs to be notified to the secondelectronic device, and to determine a notification time to notify theoccurrence of the event based on a driving time of the second electronicdevice and a communication module configured to transmit an eventoccurrence notification signal to the second electronic device at thenotification time.

In accordance with another aspect of the present disclosure, a methodfor controlling traffic of a second electronic device which interworkswith a first electronic device in the first electronic device isprovided. The method includes detecting generation of traffic to thesecond electronic device before a synchronization time with the secondelectronic device arrives and controlling one of a processing time ofthe traffic and the synchronization time with the second electronicdevice.

In accordance with another aspect of the present disclosure, anapparatus for controlling traffic of a second electronic device whichinterworks with a first electronic device in the first electronic deviceis provided. The apparatus includes a processor configured to detectgeneration of traffic to the second electronic device before asynchronization time with the second electronic device, and to controlone of a processing time of the traffic and the synchronization timewith the second electronic device and a communication module configuredto transmit one of the traffic and synchronization data to the secondelectronic device under control of the processor.

In accordance with another aspect of the present disclosure, a methodfor controlling traffic of a second electronic device which interworkswith a first electronic device in the first electronic device isprovided. The method includes detecting, by the first electronic device,a data change of an application which needs to be synchronized with thesecond electronic device, detecting generation of traffic to the secondelectronic device, and transmitting the changed data of the applicationto the second electronic device along with the traffic.

In accordance with another aspect of the present disclosure, anapparatus for controlling traffic of a second electronic device whichinterworks with a first electronic device in the first electronic deviceis provided. The apparatus includes a processor configured to detect adata change of an application which needs to be synchronized with thesecond electronic device, and to detect generation of traffic to thesecond electronic device and a communication module configured tocontrol to transmit the changed data of the application to the secondelectronic device along with the traffic under control of the processor.

The electronic device according to the present disclosure controlstraffic of another electronic device interworking therewith bycontrolling at least one of a data transmission time for anotherelectronic device and a number of times data is transmitted based on adriving time of another electronic device, thereby reducing the drivingtime of another electronic device and thus reducing current powerconsumption. Accordingly, a battery life may be improved. In addition,the electronic device according to the present disclosure prevents datatransmission to another electronic device from being delayed andperforms synchronization by using feedback, so that quality ofexperience of the user may be improved.

Other aspects, advantages, and salient features of the disclosure willbecome apparent to those skilled in the art from the following detaileddescription, which, taken in conjunction with the annexed drawings,discloses various embodiments of the present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features, and advantages of certainembodiments of the present disclosure will be more apparent from thefollowing description taken in conjunction with the accompanyingdrawings, in which:

FIG. 1 illustrates a view showing data which is exchanged between afirst electronic device and a second electronic device according to anembodiment of the present disclosure;

FIG. 2 illustrates a view showing an operation when a second electronicdevice receives data from a first electronic device according to anembodiment of the present disclosure;

FIG. 3 illustrates a view showing current consumption accompanied bydata reception in a second electronic device according to an embodimentof the present disclosure;

FIG. 4A illustrates a view showing an operating procedure of a firstelectronic device according to an embodiment of the present disclosure;

FIG. 4B illustrates a view showing a structure of a first electronicdevice according to an embodiment of the present disclosure;

FIG. 5A illustrates a view showing a time at which a first electronicdevice notifies a second electronic device of occurrence of an eventaccording to an embodiment of the present disclosure;

FIG. 5B illustrates a view showing current consumption of the firstelectronic device according to FIG. 5A according to an embodiment of thepresent disclosure;

FIG. 5C illustrates a view showing a procedure for notifying a secondelectronic device of occurrence of an event by a first electronic deviceaccording to an embodiment of the present disclosure;

FIG. 6A illustrates a view showing a time at which a first electronicdevice notifies a second electronic device of occurrence of an eventaccording to another embodiment of the present disclosure;

FIG. 6B illustrates a view showing current consumption of the firstelectronic device according to FIG. 6A according to an embodiment of thepresent disclosure;

FIG. 6C illustrates a view showing a procedure for notifying a secondelectronic device of occurrence of an event by a first electronic deviceaccording to another embodiment of the present disclosure;

FIG. 7 illustrates a view showing a procedure for notifying a secondelectronic device of occurrence of an event by a first electronic deviceaccording to another embodiment of the present disclosure;

FIG. 8 illustrates a view showing a time to synchronize with a secondelectronic device in a first electronic device according to anembodiment of the present disclosure;

FIG. 9 illustrates a view showing a time to on-demand synchronize with asecond electronic device in a first electronic device according toanother embodiment of the present disclosure; and

FIG. 10 illustrates a block diagram of a first electronic device and asecond electronic device according to an embodiment of the presentdisclosure.

Throughout the drawings, it should be noted that like reference numbersare used to depict the same or similar elements, features, andstructures.

DETAILED DESCRIPTION

The following description with reference to the accompanying drawings isprovided to assist in a comprehensive understanding of variousembodiments of the present disclosure as defined by the claims and theirequivalents. It includes various specific details to assist in thatunderstanding but these are to be regarded as merely exemplary.Accordingly, those of ordinary skill in the art will recognize thatvarious changes and modifications of the various embodiments describedherein can be made without departing from the scope and spirit of thepresent disclosure. In addition, descriptions of well-known functionsand constructions may be omitted for clarity and conciseness.

The terms and words used in the following description and claims are notlimited to the bibliographical meanings, but, are merely used by theinventor to enable a clear and consistent understanding of the presentdisclosure. Accordingly, it should be apparent to those skilled in theart that the following description of various embodiments of the presentdisclosure is provided for illustration purpose only and not for thepurpose of limiting the present disclosure as defined by the appendedclaims and their equivalents.

It is to be understood that the singular forms “a,” “an,” and “the”include plural referents unless the context clearly dictates otherwise.Thus, for example, reference to “a component surface” includes referenceto one or more of such surfaces.

The terms “have”, “may have”, “include”, and “may include” used in thevarious embodiments of the present disclosure indicate the presence ofdisclosed corresponding functions, operations, elements, and the like,and do not limit additional one or more functions, operations, elements,and the like. In addition, it should be understood that the terms“include” or “have” used in the various embodiments of the presentdisclosure are to indicate the presence of features, numbers, steps,operations, elements, parts, or a combination thereof described in thespecifications, and do not preclude the presence or addition of one ormore other features, numbers, steps, operations, elements, parts, or acombination thereof.

The terms “A or B” and “at least one of A or/and B” used in the variousembodiments of the present disclosure include any and all combinationsof words enumerated with it. For example, “A or B” or “at least one of Aor/and B” means including A, including B, or including both A and B.

Although the term such as “first” and “second” used in variousembodiments of the present disclosure may modify various elements ofvarious embodiments, these terms do not limit the correspondingelements. For example, these terms do not limit an order and/orimportance of the corresponding elements. These terms may be used forthe purpose of distinguishing one element from another element. Forexample, a first user device and a second user device all indicate userdevices and may indicate different user devices. For example, a firstelement may be named a second element without departing from the scopeof right of various embodiments of the present disclosure, andsimilarly, a second element may be named a first element.

It will be understood that when an element is “connected” or “coupled”to another element, the element may be directly connected or coupled toanother element, and there may be an intervening element between theelement and another element. To the contrary, it will be understood thatwhen an element is “directly connected” or “directly coupled” to anotherelement, there is no intervening element between the element and anotherelement.

The expression “configured to (or set to)” used in various embodimentsof the present disclosure may be replaced with “suitable for”, “havingthe capacity to”, “designed to”, “adapted to”, “made to”, or “capableof” according to a situation. The term “configured to (set to)” does notnecessarily mean “specifically designed to” in a hardware level.Instead, the expression “apparatus configured to . . . ” may mean thatthe apparatus is “capable of . . . ” along with other devices or partsin a certain situation. For example, “a processor configured to (set to)perform A, B, and C” may be a dedicated processor, e.g., an embeddedprocessor, for performing a corresponding operation, or ageneric-purpose processor, e.g., a Central Processing Unit (CPU) or anapplication processor (AP), capable of performing a correspondingoperation by executing one or more software programs stored in a memorydevice.

The terms used in various embodiments of the present disclosure are justfor the purpose of describing particular various embodiments and are notintended to limit the present disclosure.

All of the terms used herein including technical or scientific termshave the same meanings as those generally understood by an ordinaryskilled person in the related art unless they are defined otherwise. Theterms defined in a generally used dictionary should be interpreted ashaving the same meanings as the contextual meanings of the relevanttechnology and should not be interpreted as having ideal or exaggeratedmeanings unless they are clearly defined in the various embodiments.

The present disclosure relates to an apparatus and method for exchangingdata to control traffic of a second electronic device which interworkswith a first electronic device in the first electronic device. The firstelectronic device and the second electronic device, which will beexplained below, may include at least one of a smartphone, a tabletpersonal computer (PC), a mobile phone, a video phone, an electronicbook reader, a desktop PC, a laptop PC, a netbook computer, a PersonalDigital Assistant (PDA), a Portable Multimedia Player (PMP), a MotionPicture Expert Group (MPEG) audio layer 3 (MP3) player, a mobile medicalmachine, a camera, a wearable device, an electronic clock, a watch, arefrigerator, an air conditioner, a cleaner, an artificial intelligencerobot, a Television (TV), a Digital Video Disk (DVD) player, a stereo,an oven, a microwave oven, a washing machine, an air cleaner, a medicalmachine, e.g., Magnetic Resonance Angiography (MRA), Magnetic ResonanceImaging (MRI), Computerized Tomography (CT), a tomograph, and anultrasound machine, a navigation device, a Global Positioning System(GPS) receiver, an Event Data Recorder (EDR), a Flight Data Recorder(FDR), a set-top box, a TV box, for example, Samsung HomeSync™, AppleTV™, or Goggle TV™, an electronic dictionary, an automotive infotainmentdevice, electronic equipment for ship, for example, a navigationequipment for ship, a gyro compass, avionics, a security device, acamcorder, a game console, a part of furniture or a building/a structureincluding an electronic device, an electronic board, an electronicsignature receiving device, and a projector

Hereinafter, various embodiments of the present disclosure will bedescribed on the assumption that a first electronic device is a mobilecommunication electronic device such as a smartphone, a tablet PC,and/or a mobile phone, and a second electronic device is a wearabledevice. However, the following description may equally be applied to theabove-described electronic devices.

FIG. 1 illustrates data which is exchanged between a first electronicdevice and a second electronic device according to an embodiment of thepresent disclosure.

Referring to FIG. 1, a first electronic device 100 is connected with asecond electronic device 110 via a wireless link and exchanges data withthe second electronic device 100. For example, the first electronicdevice 100 and the second electronic device 110 may be connected witheach other in a short-range wireless communication technology such asBluetooth (BT), and may exchange data with each other according to auser's request, detection of occurrence of an event, and/or a pre-setregulation.

For example, when an event that needs to be notified to the secondelectronic device 110 occurs by one or more applications installed inthe first electronic device 100, the first electronic device 100 maytransmit a signal for notifying the occurrence of the event to thesecond electronic device 110. For example, when a message receptionevent is detected by a short message service (SMS) application, a socialnetwork service (SNS) application, and/or an e-mail service application,the first electronic device 100 may transmit a signal for notifying themessage reception to the second electronic device 110.

In addition, the second electronic device 110 may transmit data storedin the second electronic device 110 to the first electronic device 100according to a user's request. For example, the second electronic device110 may transmit a voice memo, a photo, an S voice, a view signal in anotification device, and the like to the first electronic device 100according to a user's request.

In addition, when data of a specific application installed in the firstelectronic device 100 is updated and then the specific application isexecuted in the second electronic device 110, the first electronicdevice 100 and the second electronic device 110 may exchange informationon the updated data and perform synchronization. For example, whenexecution of a recent call record application, a contact informationapplication, a media control application, or the like, is detected inthe second electronic device 110, the first electronic device 100 andthe second electronic device 110 may exchange information related toupdated recent call records, updated contact information, and/or updatedmedia data with each other.

In addition, although not shown, the first electronic device 100 and thesecond electronic device 110 may perform synchronization with respect toa specific application in a pre-set period without control of the user.

As described above, the first electronic device 100 and the secondelectronic device 110 may exchange various data with each other.

FIG. 2 illustrates an operation when the second electronic devicereceives data from the first electronic device according to anembodiment of the present disclosure. Herein, it is assumed that thereis no user input to the second electronic device 100.

Referring to FIG. 2, when the first electronic device 100 transmits datato the second electronic device 110 in operation 210, the secondelectronic device 110 receives the data from the first electronic device100, changes a standby state into an activation state, and then turns ona screen in operation 212. That is, when receiving data from the firstelectronic device 100, the second electronic device 110 may turn on anAP and then turn on the screen, and may display information on thereceived data on the screen. Thereafter, when a pre-set time elapseswithout a user input, the second electronic device 110 turns off thescreen in operation 216, turns off the AP, and changes back to thestandby state. In this case, the second electronic device 110 consumescurrent as shown in FIG. 3.

FIG. 3 illustrates current consumption accompanied by data reception insecond electronic device according to an embodiment of the presentdisclosure.

Referring to FIG. 3, when traffic is received at the second electronicdevice 110 by data transmission from the first electronic device 100 attraffic reception 300, current consumption reaches the peak since the APis turned on and analyzes and processes corresponding traffic data.Thereafter, when a pre-set screen on holding time 302 elapses, thecurrent consumption of the second electronic device 110 reaches the peakagain since the AP is turned off. Thereafter, the current consumptionabruptly decreases. For example, the second electronic device 110consumes little current of about 0.98 mA in the standby state, andconsumes average current of about 76.66 milliamps (mA) in the activationstate in which the AP is turned on by traffic generation. In particular,referring to a right view 320 of FIG. 3 briefly showing a currentconsumption waveform of the second electronic device 110, it can be seenthat the second electronic device 110 consumes much current of about 145mA and 130 mA on average when the AP is turned on/off.

Accordingly, various embodiments of the present disclosure propose amethod for reducing total current consumption of the second electronicdevice 110 by minimizing a driving time of the second electronic device110 taken by data transmission from the first electronic device 100 andreducing the number of times current consumption reaches the peak.Herein, the driving time of the second electronic device 110 may referto a time between a time at which the AP is turned on and a time atwhich the AP is turned off, or may refer to a time during which thesecond electronic device 110 is operated in the activation state.

In various embodiments described below, the number of times the currentconsumption reaches the peak may be reduced by reducing the number oftimes data is transmitted from the first electronic device 110 to thesecond electronic device 110 or by minimizing the driving time of thesecond electronic device 110 taken by data transmission from the firstelectronic device 100 using a method for controlling a data transmissiontime.

FIG. 4A illustrates an operating procedure of a first electronic deviceaccording to an embodiment of the present disclosure.

Referring to FIG. 4A, the first electronic device 100 detects occurrenceof an event that needs to be notified to the second electronic device110 in operation 401. The event that needs to be notified to the secondelectronic device 100 refers to an event that needs to be recognized bya user from among the events occurring by applications installed in thefirst electronic device 100, and may include an SMS message receptionevent, an SNS message reception event, an e-mail reception event, aschedule notification time satisfaction event, or the like, for example.The event that needs to be notified to the second electronic device 110may be pre-set by a designer and/or a user of the first electronicdevice 100. For example, the designer and/or the user may set whether tonotify the second electronic device 110 of occurrence of an event forevery application of the first electronic device 100 through the screenof the first electronic device 100 or the second electronic device 110,or may set whether to notify the second electronic device 110 ofoccurrence of an event for all possible events in each application. Inaddition, when designing the first electronic device 100, the designermay set to notify the second electronic device 110 of occurrence of allevents by a specific application, or may set to notify the secondelectronic device 110 of occurrence of a specific event by a specificapplication.

The first electronic device 100 determines a time to notify theoccurrence of the event, which may also be referred to as a notificationtime, based on a driving time of the second electronic device 110 inoperation 403. For example, the first electronic device 100 maydetermine the event occurrence notification time based on a basicdriving time during which the second electronic device 110 is operatedin the activation state upon receiving data one time. Information on thebasic driving time of the second electronic device 110 may be receivedfrom the second electronic device 110 or may be pre-stored in the firstelectronic device 100. In addition, the basic driving time of the secondelectronic device 110 may be changed according to a screen holding timewhen the screen holding time is changed by the user. For example, thefirst electronic device 100 may determine the event occurrencenotification time based on whether the basic driving time of the secondelectronic device 110 elapses from the time previous data wastransmitted to the second electronic device 110. When the basic drivingtime of the second electronic device 110 does not elapse from the timethe previous data was transmitted to the second electronic device 110,the first electronic device 100 may determine to promptly notify theoccurrence of the event detected in operation 401, and, when the basicdriving time of the second electronic device 110 elapses from the timethe previous data was transmitted to the second electronic device 110,the first electronic device 110 may determine a screen off time of thefirst electronic device 100 as the time to notify the occurrence of theevent detected in operation 401. In another example, the firstelectronic device 100 may determine a data collection time or an eventcollection time based on the basic driving time of the second electronicdevice 110, and may determine a time at which the data collection timeelapses or expires as the event occurrence notification time.

Thereafter, the first electronic device 100 notifies the secondelectronic device 110 of the occurrence of the event at the determinedtime in operation 405. When notifying the occurrence of the event, thefirst electronic device 100 may transmit data related to thecorresponding event along with information for notifying the occurrenceof the corresponding event. For example, when an SMS message is receivedat the first electronic device 100, the first electronic device 100 maytransmit a caller number, a receiving time, and a message text of theSMS message to the second electronic device 110 along with informationfor notifying that the SMS message is received.

Thereafter, the first electronic device 100 finishes the procedureaccording to the embodiment of the present disclosure.

FIG. 4B illustrates a structure of a first electronic device accordingto an embodiment of the present disclosure.

Referring to FIG. 4B, the first electronic device 100 includes an eventdetecting unit 411 for detecting occurrence of an event that needs to benotified to the second electronic device 110. The first electronicdevice 100 may include at least one application and/or AP that includesthe event detecting unit 411 to detect occurrence of an event that needsto be notified to the second electronic device 110.

The first electronic device 100 includes a notification determining unit413 for determining a time to notify the occurrence of the event basedon a driving time of the second electronic device 110. For example, thefirst electronic device 100 may include an AP or a separate notificationcontrol program may include the notification determining unit 413 todetermine the event occurrence notification time based on a basicdriving time during which the second electronic device 110 is operatedin the activation state upon receiving data one time.

In addition, the first electronic device 100 includes a notificationtransmission unit 415 for notifying the second electronic device 110 ofthe occurrence of the event at the determined time. For example, thefirst electronic device 100 may include a communication module thatincludes a notification transmission unit 415 to transmit an eventoccurrence notification signal to the second electronic device 110.

Hereinafter, a method for determining an event occurrence notificationtime based on a driving time of the second electronic device 110 in thefirst electronic device 100 according to various embodiments of thepresent disclosure will be described. In the following description, theevent refers an event that needs to be recognized by the user or needsto be notified to the second electronic device 110.

Referring to FIGS. 5A to 5C, a method for determining an eventoccurrence notification time based on a basic driving time of the secondelectronic device 110 and a previous event occurrence notification timewhen an event is detected by the first electronic device 100 will beexplained. In the embodiments of FIGS. 5A to 5C, a transient event isdetected by the first electronic device 100 in a situation where a lockscreen is not used. The transient event refers to an event that is notexpected to be followed by the same event, like an SMS reception event,an e-mail reception or schedule notification occurrence event. Inaddition, the lock screen is a screen that requests the user to input atleast one of dragging, a signature, a pattern, a personal identificationnumber (PIN), and a password to determine whether to allow user accessto the electronic device.

FIG. 5A illustrates a time at which a first electronic device notifies asecond electronic device of occurrence of an event according to anembodiment of the present disclosure.

Referring to FIG. 5A, it is common that, when an event is detected atoperations 501 and 507, the first electronic device 100 may turn on thescreen thereof and display event occurrence information on the screen,and, when the screen is turned off in operation 502 without a user'schecking the event, the first electronic device 100 may notify thesecond electronic device 110 of the occurrence of the event inoperations 503 and 511.

Meanwhile, according to an embodiment of the present disclosure, thefirst electronic device 100 determines whether the second electronicdevice 110 is being driven or not based on a basic driving time of thesecond electronic device 110 and a previous event occurrencenotification time for the second electronic device 110. When it isdetermined that the second electronic device 110 is being driven, thefirst electronic device 100 determines an event occurrence notificationtime to promptly transmit an event occurrence notification, and, when itis determined that the second electronic device 110 is not being driven,the first electronic device 100 determines a screen off time of thefirst electronic device 100 as the event occurrence notification time.

For example, when a first event is detected in operation 501, the firstelectronic device 100 identifies a basic driving time of the secondelectronic device 110 and a previous event occurrence notification timefor the second electronic device 110, and determines whether the secondelectronic device 110 is currently being driven or not. In this case,since the first electronic device 100 does not have the record of havingnotified the second electronic device 110 of occurrence of an event, thefirst electronic device 100 determines that the second electronic device110 is not currently being driven and determines a screen off time ofthe first electronic device 100 as the event occurrence notificationtime. Accordingly, the first electronic device 100 turns on the screenof the first electronic device 100 at the time of detecting the event inoperation 501 and displays information on the occurrence of the event onthe screen, and, when the screen is turned off in operation 502 withouta user's checking the event, the first electronic device 100 may notifythe second electronic device 110 of the occurrence of the event inoperation 503. When a user input to the corresponding event display isgenerated in the first electronic device 100 before the screen is turnedoff and it is recognized that the user checks the corresponding event,the first electronic device 100 may not notify the second electronicdevice 110 of the occurrence of the event even when the screen of thefirst electronic device 100 is turned off.

In addition, when an event is detected in operation 507, the firstelectronic device 100 identifies the basic driving time of the secondelectronic device 110 and the previous event occurrence notificationtime in operation 503 for the second electronic device 110, anddetermines whether the second electronic device 110 is currently beingdriven or not. In this case, when the basic driving time of the secondelectronic device 110 does not elapse from the previous event occurrencenotification time in operation 503, the first electronic device 100 maydetermine that the second electronic device 110 is currently beingdriven and may determine the event occurrence notification time topromptly transmit an event occurrence notification. Accordingly, thefirst electronic device 100 may turn on the screen of the firstelectronic device 100 at the time of detecting the event in operation507 and display information on the occurrence of the event, and maypromptly notify the second electronic device 110 of the occurrence ofthe event without waiting for a screen off state in operation 509.

As described above, when the first electronic device 100 notifies thesecond electronic device 110 of occurrence of an event in a related-artmethod, the first electronic device 100 waits until the screen is turnedoff and notifies the occurrence of the event. Therefore, the secondelectronic device 110 receives information on the occurrence of theevent in the standby state, changes into the activation state, and thenchanges back to the standby state, and, after a predetermined time,receives information on occurrence of an event, changes into theactivation state, and changes back to the standby state. The secondelectronic device 110 repeats these operations. In this case, the secondelectronic device 110 consumes current in the form of the related-artmethod shown in box 515 of FIG. 5B.

On the other hand, according to an embodiment of the present disclosure,the first electronic device 100 determines whether the second electronicdevice 110 is being driven or not based on a previous event notificationtime and the basic driving time of the second electronic device 110,and, when it is determined that the second electronic device 110 isbeing driven, the first electronic device promptly notifies theoccurrence of the event. Accordingly, the second electronic device 110receives information on occurrence of an event in the standby state andchanges into the activation state, and receives information onoccurrence of an event again prior to changing back to the standbystate. In this case, the second electronic device 110 consumes currentin the form shown in box 517 of FIG. 5B. Accordingly, when the firstelectronic device 100 determines the event occurrence notification timebased on the basic driving time of the second electronic device 110according to the embodiment, the first electronic device 100 may achievethe effect of reducing current consumption in comparison with therelated-art method.

FIG. 5C illustrates a procedure for notifying a second electronic deviceof occurrence of an event by a first electronic device according to anembodiment of the present disclosure.

Referring to FIG. 5C, the first electronic device 100 detects occurrenceof an event that needs to or should be notified to the second electronicdevice in a screen off state in operation 521. For example, the firstelectronic device 100 may detect occurrence of an SMS reception event,an e-mail reception event or a schedule notification event in the screenoff state without a lock screen being set.

The first electronic device 100 turns on the screen of the firstelectronic device 100 and then displays information for notifying theoccurrence of the event on the screen in operation 523.

Thereafter, in operation 525, the first electronic device 100 determinesa current driving state of the second electronic device 110 based on atime occurrence at which the first electronic device 100 previouslynotified the second electronic device 110 of occurrence of a previousevent, and a driving time of the second electronic device 110. Forexample, it is assumed that, when the second electronic device 110receives an event notification one time, 10 seconds are required for theAP to be turned on, process the event notification, and be turned offagain. In this case, when occurrence of an event is notified to thesecond electronic device 110 5 seconds before with reference to acurrent time, the first electronic device 100 may determine that thesecond electronic device 110 is in a driving state in which the AP iscurrently turned on. On the other hand, when occurrence of an event isnotified to the second electronic device 110 1 minute before withreference to a current time, the first electronic device 100 maydetermine that the electronic device 110 is in a non-driving state inwhich the AP is currently turned off.

As a result of the determining in operation 525, the first electronicdevice 100 determines whether the second electronic device 110 is in thedriving state or non-driving state in operation 527, and, when it isdetermined that the second electronic device 110 is in the drivingstate, the first electronic device 100 promptly notifies the secondelectronic device 110 of the occurrence of the event in operation 529.That is, the first electronic device 100 promptly notifies the secondelectronic device 110 of the occurrence of the event without waitinguntil the screen of the first electronic device 100 is turned off.Thereafter, the first electronic device 100 finishes the procedureaccording to the embodiment of the present disclosure.

On the other hand, when it is determined that the second electronicdevice 110 is in the non-driving state, the first electronic devicedetermines whether the screen is turned off without a user's checking ofthe event in operation 531. When the screen is turned off without theuser's checking of the event, the first electronic device 100 notifiesthe second electronic device of the occurrence of the event in operation535. For example, after the screen of the first electronic device 100 isturned on and displays information on occurrence of an event, when thescreen is automatically turned off without a user's input during apredetermined time, the first electronic device 100 may determine thatthe user does not check the event and may notify the second electronicdevice 110 of the occurrence of the event.

After the screen of the first electronic device 100 is turned on and theinformation on the occurrence of the event is displayed in the firstelectronic device 100, when a user input to the display of thecorresponding event is generated before the screen is turned off inoperation 531, the first electronic device 100 determines that the userchecks the corresponding event and does not notify the second electronicdevice 110 of the occurrence of the event even when the screen is turnedoff, and finishes the procedure according to the embodiment of thepresent disclosure.

Next, a method for determining an event occurrence notification timebased on a basic driving time of the second electronic device 110 whenan event is detected by the first electronic device 100, andtransmitting events detected until the event occurrence notificationtime collectively will be explained with reference to FIGS. 6A to 6C. Inother words, the first electronic device 100 may determine an eventcollection time based on the basic driving time of the second electronicdevice 110 and may transmit the events collected until the eventcollection time collectively at the time the event collection timeexpires. In addition, a case in which a multiple event is detected inthe first electronic device 100 will be explained by way of an example.The multiple event is an event which is expected to be followed by thesame event, that is, an event that is expected to be followed by thesame event within a predetermined time, like an SNS message receptionevent. According to an embodiment, the first electronic device maydetermine whether an event is a transient event or a multiple eventbased on the number of events occurring by a corresponding applicationduring a threshold time after the application is installed in the firstelectronic device 100. In addition, a designer and/or a user of thefirst electronic device 100 may distinguish or set whether each event isa transient event or a multiple event.

FIG. 6A illustrates a time at which a first electronic device notifies asecond electronic device of occurrence of an event according to anotherembodiment of the present disclosure.

Referring to FIG. 6A, it is common that, when the first electronicdevice 100 detects at least one of events 601, 602, 603, and 604, thefirst electronic device 100 turns on the screen of the first electronicdevice 100 and displays information on the occurrence of the event onthe screen, and simultaneously, notifies the second electronic device110 of the occurrence of the event at event notification times 11, 612,613, and 614.

However, according to an embodiment of the present disclosure, the firstelectronic device 100 determines an event collection time based on abasic driving time of the second electronic device 110 and determineswhether events continuously occur or not during the event collectiontime, and transmits the events 601, 602, 603, and 604 detected duringthe event collection time collectively when the event collection timeexpires at expiration time 623. In this case, the first electronicdevice 100 may promptly notify the second electronic device 110 of theoccurrence of the first multiple event according to a design method atnotification time 621.

In particular, according to an embodiment of the present disclosure, thefirst electronic device 100 may determine the event collection time asshown in Equation 1:T1=(Driving Time of Second Electronic Device)−(Time of Communicationbetween First Electronic Device and Second ElectronicDevice)−margin  Equation 1

Herein, T1 is an event collection time, a driving time of the secondelectronic device is a basic driving time during which the secondelectronic device 110 is driven when receiving an event notification ordata one time, and a time of communication between the first electronicdevice and the second electronic device is a time that is taken for asignal transmitted from the first electronic device 100 to be receivedat the second electronic device 110. In addition, “margin” is a valuefor allowing an event notification of the first electronic device 100 tostably arrive at the second electronic device 110 before the driving ofthe second electronic device is stopped, regardless of a channel statebetween the first electronic device 100 and the second electronicdevice. The “margin” may be pre-set or changed by learning

Additionally, the first electronic device 100 may collect eventsdetected in the first electronic device 100 from the time the event isdetected to the time the event collection time elapses, and may transmitthe collected events to the second electronic device 110 collectively,regardless of whether a lock screen is used or not in the firstelectronic device 100 and regardless of a screen off time of the firstelectronic device 100.

Additionally, when an input to a corresponding event is generated by theuser while the first electronic device 100 continuously collects theevents occurring during the event collection time without notifying thesecond electronic device 110 of the occurrence of events, and it isrecognized that the user checks the corresponding events, the firstelectronic device 100 stops collecting the events and does not notifythe second electronic device 110 of the occurrence of the events.

As described above, when the first electronic device 100 notifies thesecond electronic device 110 of occurrence of an event in a related-artmethod, the first electronic device 100 notifies the second electronicdevice 110 of the occurrence of the event every time the occurrence ofthe event is detected. In this case, the second electronic device 110consumes current in the form of the related-art method shown in box 631of FIG. 6B.

On the other hand, according to an embodiment of the present disclosure,the first electronic device 100 collects events during the eventcollection time which is determined based on the basic driving time ofthe second electronic device 110, without notifying occurrence of theevents, and notifies the second electronic device 110 of the collectedevent collectively when the event collection time expires. In this case,the second electronic device 110 consumes current in the form shown inbox 635 of FIG. 6B. Accordingly, according to the embodiment of thepresent disclosure, when the first electronic device 100 collects eventsduring a predetermined time based on the basic driving time of thesecond electronic device 100 and transmits the events collectively, thefirst electronic device 100 may achieve the effect of reducing currentconsumption in comparison with the related-art method.

FIG. 6C illustrates a procedure for notifying a second electronic deviceof occurrence of an event by a first electronic device according toanother embodiment of the present disclosure.

Referring to FIG. 6C, the first electronic device 100 detects occurrenceof an event that needs to be notified to the second electronic device ina screen off state in operation 651. For example, the first electronicdevice 100 may detect occurrence of an SNS message reception event whichis set as a multiple event in the screen off state without a lock screenbeing set.

The first electronic device 100 turns on the screen of the firstelectronic device 100 and then display information for notifying theoccurrence of the event on the screen in operation 653.

Thereafter, the first electronic device 100 determines an eventcollection time based on a driving time of the second electronic device110, and measures the determined event collection time in operation 655.Although not shown, the first electronic device 100 may notify thesecond electronic device 110 of the occurrence of the event detected inoperation 651.

Thereafter, the first electronic device 100 determines whether the eventcollection time expires or not without a user's checking the event inoperation 657. For example, the first electronic device 100 may continuedetecting the multiple events occurring in the first electronic device100 during the event collection time and may determine whether the eventcollection time expires or not in a state in which a user input to thedetected multiple event is not generated.

When the event collection time expires without the user's checking, thefirst electronic device notifies the second electronic device 110 of theevents occurring during the event collection time in operation 659.

On the other hand, when the event collection time does not expirewithout the user's checking, that is, when the event collection timedoes not expire, the first electronic device 100 proceeds to operation661 to detect an additional event occurring during the event collectiontime and resumes operation 657 to re-perform the subsequent operations.Although not shown, when an input is generated by the user during theevent collection time and it is recognized that the user checks theevents, the first electronic device stops collecting the events and doesnot notify the second electronic device 110 of the occurrence of theevents.

In the above-described example, while the first electronic device 100collects the events during the event collection time, the secondelectronic device 110 may display a notification that was received fromthe first electronic device 100 at the starting point of the eventcollection time, that is, the most recently received notification, ormay provide a user interface showing that the second electronic device110 is in progress of receiving or loading a next notification. Inaddition, the second electronic device 110 may provide a setting screenfor the screen display during the event collection time of the firstelectronic device 100, so that the user may set whether to display themost recently received notification or display that the secondelectronic device 110 is in progress of receiving a next notification.

Additionally, according to an embodiment of the present disclosure, whenan event notification display remains on the screen for more than apredetermined time, the first electronic device 100 may notify thesecond electronic device 110 of occurrence of the event even when thescreen of the first electronic device 100 is in the on-state. That is,when occurrence of a transient event is detected while the lock screenis unused, the first electronic device 100 may turn on the screen anddisplays a display indicating occurrence of the event on the screen,and, when the screen is turned off without a user's checking the eventoccurrence notification, the first electronic device 100 notifies thesecond electronic device 110 of the occurrence of the event. However,when occurrence of another transient event is repeatedly detected beforethe screen of the first electronic device 100 is turned off, the firstelectronic device 100 maintains the screen on state continuously andthus delays notifying the occurrence of the transient events. Accordingto an embodiment, to prevent the delay in notifying the occurrence ofthe transient events, the first electronic device 100 may notify thesecond electronic device 110 of the occurrence of the event remaining onthe screen when the event notification display remains for more than apredetermined time, even when the screen of the first electronic device100 is maintained in the on-state. For example, when the eventoccurrence notification display is maintained on an upper bar, which maybe called a ‘Ticker’, of the screen for more than a pre-set thresholdtime, the first electronic device 100 may notify the second electronicdevice 110 of the occurrence of the corresponding event. However, whenthe screen is maintained in the on state by a user's input or the screenis maintained in the on state by a specific application driven by a userrequest, the first electronic device 100 may not notify the secondelectronic device 110 of occurrence of the corresponding event even ifthe event occurrence notification display is maintained on the upper barof the screen for more than a threshold time.

Additionally, according to an embodiment, when occurrence of an event isdetected in a state in which a lock screen is used, the first electronicdevice 100 determines whether a specific application is being driven ornot through the lock screen according to a user request. When a specificapplication is being driven, the first electronic device 100 may displaya notification of the detected event occurrence only on the screen ofthe first electronic device 100 and may not notify the second electronicdevice 110 of the occurrence of the event. In this case, after thedriving of the specific application is stopped, when the firstelectronic device 100 turns off the screen or a predetermined timeelapses without a user's checking the event occurrence notification, thefirst electronic device 100 may notify the second electronic device 110of the occurrence of the event.

FIG. 7 illustrates a procedure for notifying a second electronic deviceof occurrence of an event by a first electronic device according toanother embodiment of the present disclosure.

Referring to FIG. 7, the first electronic device 100 detects occurrenceof an event that needs to be notified to the second electronic device110 in operation 701. For example, the first electronic device 100detects occurrence of an event that needs to be recognized by the userfrom among the events occurring by an application, which may be referredto as an “app”, installed in the first electronic device 100. In thiscase, the first electronic device 100 may display an event occurrencenotification on the screen.

The first electronic device 100 determines whether a lock screen is usedor not in operation 703. The lock screen recited herein refers to ascreen that requests the user to input at least one of dragging, asignature, a pattern, a PIN, and a password to determine whether toallow user access to the first electronic device 100, and the user mayset whether to use the lock screen or not.

When the lock screen is not used, the first electronic device 100determines whether the detected event is a transient event or not inoperation 705. For example, the first electronic device 100 determineswhether the detected event is a transient event that is not expected tobe followed by the same event, like an SMS reception event, an e-mailreception event, or a schedule notification occurrence event, or thedetected event is a multiple event that is expected to be followed bythe same event like an SNS message reception event.

When the detected event is not a transient event, but is a multipleevent, the first electronic device 100 transmits a notification on theinitially detected event to the second electronic device 110unconditionally, and then detects and collects events occurring in thefirst electronic device 100 during an event collection time T1, and,when the event collection time expires, transmits notifications on thecollected events to the second electronic device 110 collectively inoperation 707. The first electronic device may repeat operation 707until a user input to the event occurrence notification display isdetected in the first electronic device 100 or until an event is notdetected for more than a threshold time. When a user input to the eventoccurrence notification display is detected in the first electronicdevice 100 or an event is not detected during more than the thresholdtime, the first electronic device 100 finishes the procedure accordingto the embodiment.

When the detected event is the transient event, the first electronicdevice 100 determines whether a driving holding time T2 elapses from thetime a previous notification was transmitted to the second electronicdevice 110 in operation 709. The driving holding time T2 may be adriving time of the second electronic device 110 or may be a time whichis calculated by subtracting a time of communication between the firstelectronic device and the second electronic device from the basicdriving time of the second electronic device 110. In addition, thedriving holding time T2 may have the same value as the event collectiontime T1.

When the driving holding time T2 does not elapse from the time theprevious notification was transmitted to the second electronic device110, the first electronic device 100 determines that the secondelectronic device is being driven and promptly transmits a notificationon the detected event to the second electronic device 110 in operation711. Thereafter, the first electronic device 100 finishes the procedureaccording to the embodiment of the present disclosure.

On the other hand, when the driving holding time T2 elapses from thetime the previous notification was transmitted to the second electronicdevice 110, the first electronic device 100 determines that the secondelectronic device 110 is not being driven and determines whether apredetermined time elapses without a separate application being drivenin operation 713. For example, after displaying the event occurrencenotification on the screen, the first electronic device 100 determineswhether a screen holding time elapses without an additional applicationbeing driven.

When the predetermined time elapses without the separate applicationbeing driven, the first electronic device 100 proceeds to operation 711to turn off the screen and transmit the notification on the detectedevent to the second electronic device 110. On the other hand, when theseparate application is driven before the predetermined time elapses orif the predetermined time elapses, the first electronic device 100proceeds to operation 715 to determine whether the screen is turned offor not. For example, the first electronic device 100 determines whetherthe screen is turned off after an application is driven by the user andthe driving of the application is stopped before a predetermined time atwhich the screen is automatically turned off expires or may determinewhether the screen is turned off by a user input which is generatedbefore the predetermined time at which the screen is automaticallyturned off expires. When the screen is not turned off, the firstelectronic device 100 resumes operation 713 to re-perform the subsequentoperations.

On the other hand, when the screen is turned off, the first electronicdevice 100 transmits the notification on the event which is unchecked bythe user to the second electronic device 110. Thereafter, the firstelectronic device 100 finishes the procedure according to the embodimentof the present disclosure.

Meanwhile, when the lock screen is determined to active and/or as beingused, as a result of the determining in operation 703, the firstelectronic device 100 determines whether an application usable in thelock screen state is being driven or not in operation 719. When anapplication usable in the lock screen state is being driven, and theuser does not check the event occurrence notification within apredetermined time after the driving of the application is terminated,the first electronic device 100 transmits notifications on the eventsthat have occurred until the predetermined time to the second electronicdevice 110 collectively in operation 721.

On the other hand, when it is determined that the application usable inthe lock screen state is not being driven in operation 719, the firstelectronic device 100 determines whether the detected event is atransient event or not in operation 723. When the detected event is thetransient event, the first electronic device 100 promptly transmits thenotification on the transient event to the second electronic device 110in operation 725.

On the other hand, when the detected event is not a transient event, butis a multiple event, then in operation 727, the first electronic device100 transmits a notification on the initially detected event to thesecond electronic device 110, detects and collect events occurring inthe first electronic device 100 during the event collection time T1, andtransmits notifications on the collected events to the second electronicdevice 110 collectively when the event collection time expires. Thefirst electronic device 100 may repeat operation 727 until a user inputto the event occurrence notification display is detected in the firstelectronic device 100 or until an event is not detected for more than athreshold time. When a user input to the event occurrence notificationdisplay is detected in the first electronic device or when an event isnot detected for more than the threshold time, the first electronicdevice 100 finishes the procedure according to the embodiment of thepresent disclosure.

Additionally, the first electronic device 100 according to an embodimentof the present disclosure may minimize traffic for the second electronicdevice 110 by controlling a periodic synchronization time with thesecond electronic device 110.

FIG. 8 illustrates a time to synchronize with a second electronic devicein a first electronic device according to an embodiment of the presentdisclosure.

Referring to FIG. 8, the first electronic device 100 may transmit datathat is set as a synchronization target from among data stored in thefirst electronic device 100 to the second electronic device 110 in apre-set synchronization period, and may perform synchronization.According to an embodiment, the first electronic device 100 may notperform synchronization in a synchronization period and may performsynchronization when traffic to the second electronic device 110 isdetected before a synchronization time set according to thesynchronization period, so that current consumption in the secondelectronic device 110 caused by the traffic may be minimized. Morespecifically, when traffic to the second electronic device 110 isgenerated within a pre-set time before the synchronization time, thefirst electronic device 100 may transmit synchronization data by makingthe synchronization data piggyback on the corresponding traffic. In thiscase, the pre-set time may be set considering a driving time of thesecond electronic device 110. On the other hand, when traffic to thesecond electronic device 110 is not generated within the pre-set timebefore the synchronization time, the first electronic device 100 maywait until the synchronization time according to the synchronizationperiod and may perform synchronization at the synchronization time.

In the embodiment of FIG. 8 described above, when generation of trafficto the second electronic device 110 is detected before thesynchronization time according to the synchronization period, thesynchronization is performed at the time the generation of the trafficis detected in order to minimize current consumption caused by thetraffic. However, according to various embodiments of the presentdisclosure, when traffic is generated between synchronization times,processing of the traffic may be delayed and the traffic may beprocessed at the synchronization time. For example, the first electronicdevice 100 may perform synchronization with the second electronic device110 at a first synchronization time, and then, when specific traffic tothe second electronic device 110 is generated before a secondsynchronization time, may not promptly process the traffic and delayprocessing the traffic until the second synchronization time. When thesecond synchronization time arrives, the first electronic device 100 maytransmit the specific traffic while performing synchronization with thesecond electronic device 110.

FIG. 9 illustrates an on-demand synchronization time with a secondelectronic device in a first electronic device according to anotherembodiment of the present disclosure.

Referring to FIG. 9, after data of a specific application installed inthe first electronic device 100 is updated, when the specificapplication is executed in the second electronic device 110, the firstelectronic device 100 and the second electronic device 110 determinewhether updated data exists or not and perform synchronization byexchanging information on the updated data with each other. For example,when a recent record and contact information are updated in the firstelectronic device 100 and execution of a recent record applicationand/or a contact information application is detected in the secondelectronic device 110, the first electronic device 100 and the secondelectronic device 110 may exchange the updated recent record and theupdated contact information with each other. In this case, since thefirst electronic device 100 and the second electronic device 110 performsynchronization with respect to the corresponding application afterexecution of the application is detected in the second electronic device110, the user recognizes that synchronization is not performed withrespect to the corresponding application for a predetermined time afterthe application is executed. Therefore, according to an embodiment ofthe present disclosure, when data of a specific application installed inthe first electronic device 100 is updated and traffic to the secondelectronic device 110 is generated in the first electronic device 100,the first electronic device 100 may transmit the updated data of theapplication by making the updated data piggyback on the correspondingtraffic even in a state where the specific application is not executed.In this case, the second electronic device 110 receives the updated dataof the application and performs synchronization in advance before thespecific application is executed, so that quality of experience of theuser may be improved.

FIG. 10 illustrates a block diagram of a first electronic device and asecond electronic device according to an embodiment of the presentdisclosure.

Referring to FIG. 10, the first electronic device 100 may include aprocessor 1000, a bus 1010, a memory 1020, a user input module 1030, adisplay module 1032, and a communication module 1034.

The processor 1000 may control various functions related to an operationof the first electronic device 100. For example, the processor 1000 maydecipher instructions which are received from at least one otherelements included in the first electronic device 100 through the bus1010, and may perform calculation and data processing according to thedeciphered instructions. In addition, the processor 1000 may control afunction for providing various services by executing one or moreprograms stored in the memory 1020. For example, the processor 1000 maycontrol a function for transmitting an event occurrence notificationsignal to the second electronic device 110 which interworks with thefirst electronic device 100 by executing an event notification controlprogram 1022 stored in the memory 1020.

The bus 1010 connects the elements included in the first electronicdevice 100 with one another and transmits communications between theelements.

The memory 1020 may store instructions or data which is received from orgenerated by at least one element included in the first electronicdevice 100. For example, the memory 1020 may store at least oneapplication program and may store information on events which need to benotified to the second electronic device 110. In addition, the memory1020 may store information on a driving time of the second electronicdevice 110.

The memory 1020 may include programming modules such as a kernel,middleware, an application programming interface (API), an application,and the like. Each of the above-described programming modules may beconfigured by at least one of software, firmware, and hardware.

The event notification control program 1022 included in the memory 1020may include instructions for detecting that an event which needs to benotified to the second electronic device 110 occurs in the firstelectronic device 100, and displaying a notification on the occurrenceof the event on a display module 1032 or outputting the notificationthrough a speaker (not shown). In addition, the event notificationcontrol program 1022 may include instructions for determining whether auser checks the notification on the detected event based on a user inputmodule 1030, and transmitting the notification of the event that isunchecked, or in other words, that is not checked, by the user to thesecond electronic device 110. In this case, the event notificationcontrol program 1022 may include instructions for controlling an eventnotification transmission time and/or the number of times the eventnotification is transmitted based on the driving time of the secondelectronic device 110. For example, the event notification controlprogram 1022 may transmit the event notification to the secondelectronic device 110 in the method described above with reference toFIGS. 4 to 7.

Additionally, the memory 1020 may include a program (not shown) tocontrol a synchronization time with the second electronic device 110.For example, the memory 1020 may transmit synchronization data to thesecond electronic device 110 by piggybacking at the time traffic isgenerated, as described above in FIGS. 8 and 9.

The user input module 1030 may transmit instructions or data which isgenerated by user's selection or gesture to the processor 1000 or thememory 1020 via the bus 1010. The user input module 1030 may include atleast one of a physical key button, a physical keypad, a touch sensor, aproximity sensor, an acceleration sensor, a microphone, and a mouse. Theuser input module 1030 may receive an input indicating that anotification on an event occurring in the first electronic device 100 ischecked from the user.

The display module 1032 may display an image, a video, or data for theuser. According to an embodiment, the display module 1032 may display anevent occurrence notification display on a screen, e.g., a lock screen,a main screen, an idle screen, or an application driving screen. Theevent occurrence notification display may be a graphic element which ispre-mapped onto a corresponding event. The display module 1032 may turnon the screen under control of the processor 1000 and display graphicelements, or may turn off the screen and may not display graphicelements.

The communication module 1034 may perform wired or wirelesscommunication connection between the first electronic device 100 and abase station or the first electronic device 100 and at least one otherelectronic device. For example, the communication module 1034 maysupport a short-range communication protocol, e.g., wireless fidelity(WiFi), BT, near field communication (NFC)), or network communication,e.g., Internet, a local area network (LAN), a wide area network (WAN), atelecommunication network, a cellular network, a satellite network, or aplain old telephone service (POTS)). For example, the communicationmodule 1034 may process to transmit an event notification signal or datatraffic such as synchronization data to the second electronic device 110interworking with the first electronic device 100 under control of theprocessor 1000.

The second electronic device 110 may include a bus 1050, a processor1060, a memory 1070, a user input module 1080, a display module 1082,and a communication module 1084.

The bus 1050 connects the elements included in the second electronicdevice 110 with one another and transmits communications between theelements.

The processor 1060 may control various functions related to an operationof the second electronic device 110. For example, the processor 1060 maydecipher instructions which are received from at least one other elementincluded in the second electronic device 110 through the bus 1050, andmay perform calculation and data processing according to the decipheredinstructions. In addition, the processor 1060 may control a function forproviding various services by executing one or more programs stored inthe memory 1070. For example, the processor 1060 may control a functionfor analyzing an event occurrence notification signal received from thefirst electronic device 100 interworking with the second electronicdevice 110 and displaying an event occurrence notification on the screenby executing an event notification display program 1072 stored in thememory 1070.

The memory 1070 may store instructions or data which is received from orgenerated by at least one element included in the second electronicdevice 110. For example, the memory 1070 may store at least oneapplication program and may store information on a basic driving time ofthe second electronic device 110.

The memory 1070 may include programming modules such as a kernel,middleware, an API, an application, and the like. Each of theabove-described programming modules may be configured by at least one ofsoftware, firmware, and hardware.

The event notification display program 1072 included in the memory 1070may include instructions for receiving an event occurrence notificationsignal from the first electronic device 100 and displaying the same onthe screen. In particular, the event notification display program 1072may include instructions for recognizing an event collection time of thefirst electronic device 100 when a multiple event occurrencenotification signal is received, and displaying a most recently receivednotification or displaying a user interface indicating that a nextnotification is being received or loaded. In this case, the eventnotification display program 1072 may display a setting screen on ascreen display of the second electronic device 110 during the eventcollection time of the first electronic device 100, so that the user mayset whether to display a most recently received notification or displaya receiving state of a next notification.

The user input module 1080 may transmit instructions or data which isgenerated by user's selection or gesture to the processor 1060 or thememory 1070 via the bus 1050. The user input module 1080 may include atleast one of a physical key button, a physical keypad, a touch sensor, aproximity sensor, an acceleration sensor, and a microphone.

The display module 1082 may display an image, a video, or data for theuser. According to an embodiment of the present disclosure, the displaymodule 1082 may display an event occurrence notification display on thescreen. The event occurrence notification display may be a graphicelement which is pre-mapped onto a corresponding event. The displaymodule 1082 may turn on the screen under control of the processor 1060and display graphic elements, or may turn off the screen and may notdisplay graphic elements.

The communication module 1084 may perform wire or wireless communicationconnection between the second electronic device 110 and at least oneother electronic device. For example, the communication module 1084 maysupport a short-range communication protocol, e.g., WiFi, BT, NFC, ornetwork communication, e.g., Internet, a LAN, a WAN, a telecommunicationnetwork, a cellular network, a satellite network, or a POTS. Forexample, the communication module 1084 may process to receive an eventnotification signal or data traffic such as synchronization data fromthe first electronic device 100 interworking with the second electronicdevice 110 under control of the processor 1060.

Methods based on the embodiments disclosed in the claims and/orspecification of the present disclosure may be implemented in hardware,software, or a combination of both.

When implemented in software, a computer readable recording medium forstoring one or more programs (i.e., software modules) may be provided.The one or more programs stored in the computer readable recordingmedium are configured for execution performed by one or more processorsin an electronic device. The one or more programs include instructionsfor allowing the electronic device to execute the methods based on theembodiments disclosed in the claims and/or specification of the presentdisclosure.

The computer-readable recording medium may include program commands,data files, and data structures either alone or in combination. Theprogram commands may be those that are especially designed andconfigured for the present disclosure, or may be those that are publiclyknown and available to those skilled in the art. Examples of thecomputer-readable recording medium include magnetic recording media suchas hard disks, floppy disks and magnetic tapes, optical recording mediasuch as compact disk-read only memory (CD-ROMs) and DVDs,magneto-optical recording media such as floptical disks, and hardwaredevices such as read-only memory (ROMs), random access memory (RAMs) andflash memories that are especially configured to store and executeprogram commands. Examples of the program commands include machinelanguage codes created by a compiler, and high-level language codes thatmay be executed by a computer by using an interpreter. When all or someof a base station or a relay described in the present disclosure isimplemented by a computer program, a computer-readable recording mediumstoring the computer program is also included in the present disclosure.

While the present disclosure has been shown and described with referenceto various embodiments thereof, it will be understood by those skilledin the art that various changes in form and details may be made thereinwithout departing from the spirit and scope of the present disclosure asdefined by the appended claims and their equivalents.

What is claimed is:
 1. A method for operating a first electronic devicein a wireless environment, the method comprising: detecting a generationof data within a predetermined time duration before a time set totransmit control information to a second electronic device; and inresponse to detecting of the generation of the data, transmitting, tothe second electronic device, the data with the control informationbefore the time.
 2. The method of claim 1, further comprising:performing a synchronization with the second electronic device bytransmitting the control information at the time if the generation ofthe data is not detected within the predetermined time duration beforethe time.
 3. The method of claim 1, further comprising: detecting anupdate of the control information for an application which needs to besynchronized with the second electronic device.
 4. The method of claim3, further comprising: comparing an execution time of the applicationand a time of the data generated; and transmitting, to the secondelectronic device, the updated control information at the execution timeof the application, if the execution time is prior to the time of thedata generated.
 5. The method of claim 4, further comprising:transmitting, to the second electronic device, the data with the updatedcontrol information if the time of the data generated is prior to theexecution time of the application.
 6. The method of claim 1, wherein thepredetermined time duration is based on a driving time duration of thesecond electronic device.
 7. An apparatus for an electronic device in awireless environment, the apparatus comprising: a transceiver; and atleast one processor configured to: detect a generation of data within apredetermined time duration before a time set to transmit controlinformation to a second electronic device, and in response to detectingof the generation of the data, transmit, to the second electronicdevice, the data with the control information before the time.
 8. Theapparatus of claim 7, wherein the at least one processor is furtherconfigured to perform a synchronization with the second electronicdevice by transmitting the control information at the time if thegeneration of the data is not detected within the predetermined timeduration before the time.
 9. The apparatus of claim 7, wherein theprocessor is further configured to detect an update of the controlinformation for an application which needs to be synchronized with thesecond electronic device.
 10. The apparatus of claim 9, wherein theprocessor is further configured to: compare an execution time of theapplication and a time of the data generated, and transmit, to thesecond electronic device, the updated control information, at theexecution time of the application, if the execution time is prior to thetime of the data generated.
 11. The apparatus of claim 10, wherein theprocessor is further configured to transmit, to the second electronicdevice, the data with the updated control information if the time of thedata generated is prior to the execution time of the application. 12.The apparatus of claim 7, wherein the predetermined time duration isbased on a driving time duration of the second electronic device.